package in.iqing.view.activity;

import in.iqing.app.R;
import in.iqing.control.api.callback.BookListCallback;
import in.iqing.model.db.DBHelper;

/**
 * Created by ZuoShu on 15/7/11.
 */
public class SubscribeBookListActivity extends BaseBookListActivity {
    @Override
    protected void initializeVariable() {
        title.setText(R.string.label_subscribe);
    }

    @Override
    protected void requestBookList(int pageSize, int pageNo, BookListCallback callback) {
        callback.onSuccess(DBHelper.getInstance().getSubscribedBooks());
    }
}
